﻿namespace FFF.Test.Application.Repositories.Demo
{
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo;
    using FFF.Test.Entity.Demo.Dto;

    /// <summary>
    /// 输入dto
    /// </summary>
    /// <remarks>ydm</remarks>
    public class GetStuDtoByAgeAndSexInDto
    {
        /// <summary>
        /// 年龄
        /// </summary>
        [Display(Name = "年龄", Description = "年龄")]
        [Column("StudentAge")]
        public int? StudentAge { get; set; }

        /// <summary>
        /// 学生性别
        /// </summary>
        [Display(Name = "学生性别", Description = "学生性别")]
        [Column("IsMan")]
        public byte? IsMan { get; set; }
    }

    /// <summary>
    /// 输入dto
    /// </summary>
    /// <remarks>ydm</remarks>
    public class GetStuDtoByAgeAndSexOutDto
    {
        /// <summary>
        /// 返回学生Dto
        /// </summary>
        /// <value>The student dtos.</value>
        /// <remarks>ydm</remarks>
        public List<DemoStudent2Dto> StudentDtos { get; set; }
    }

}
